package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.DownloadLog;
import com.ruoyi.system.domain.vo.StaticVo;
import org.apache.ibatis.annotations.Param;

/**
 * downLogMapper接口
 * 
 * @author ruoyi
 * @date 2025-05-30
 */
public interface DownloadLogMapper 
{
    /**
     * 查询downLog
     * 
     * @param id downLog主键
     * @return downLog
     */
    public DownloadLog selectDownloadLogById(Long id);

    /**
     * 查询downLog列表
     * 
     * @param downloadLog downLog
     * @return downLog集合
     */
    public List<DownloadLog> selectDownloadLogList(DownloadLog downloadLog);

    /**
     * 新增downLog
     * 
     * @param downloadLog downLog
     * @return 结果
     */
    public int insertDownloadLog(DownloadLog downloadLog);

    /**
     * 修改downLog
     * 
     * @param downloadLog downLog
     * @return 结果
     */
    public int updateDownloadLog(DownloadLog downloadLog);

    /**
     * 删除downLog
     * 
     * @param id downLog主键
     * @return 结果
     */
    public int deleteDownloadLogById(Long id);

    /**
     * 批量删除downLog
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDownloadLogByIds(Long[] ids);


    public List<StaticVo> downTotal(@Param("beginTime") String beginTime, @Param("endTime") String endTime);

    public List<StaticVo> downTotalNum(@Param("beginTime") String beginTime, @Param("endTime") String endTime);
}
